package day03.note;

public class txt12 {
    public static void main(String[] args) {
        int d=2;
        double s=0;
        while (d<=100){
            s=s+1.0/d ;
            d=d+2;
        }
        System.out.println(s);
    }
}
